gtk4.git
7 years agoAdd a GdkDrag::surface property
Matthias Clasen [Sun, 15 Jul 2018 20:08:52 +0000 (16:08 -0400)]
Add a GdkDrag::surface property

7 years agogdkdrag: remove an unused member
Matthias Clasen [Sun, 15 Jul 2018 20:01:00 +0000 (16:01 -0400)]
gdkdrag: remove an unused member

The drag surface is stored in the subclasses and obtained
by via the get_drag_surface vfunc.

7 years agowayland: Drop an unused api
Matthias Clasen [Sun, 15 Jul 2018 19:56:56 +0000 (15:56 -0400)]
wayland: Drop an unused api

Nothing was calling gdk_wayland_drag_set_source_surface.

7 years agoAdd a private struct to GdkDrag
Matthias Clasen [Sun, 15 Jul 2018 19:47:43 +0000 (15:47 -0400)]
Add a private struct to GdkDrag

This will force subclasses to use proper api.

7 years agoRevert "GdkDrop: drop the priv struct"
Matthias Clasen [Sun, 15 Jul 2018 19:41:20 +0000 (15:41 -0400)]
Revert "GdkDrop: drop the priv struct"

This reverts commit d927c3bee0f169279d86e13756c5ba4f6cba94e4.

I was wrong. Better to hide the struct fields from subclasses.

7 years agodnd: Drop gdk_drag_drop
Matthias Clasen [Fri, 13 Jul 2018 16:56:58 +0000 (18:56 +0200)]
dnd: Drop gdk_drag_drop

This is an inconsistently used private api, and just adds
a vfunc indirection for no other benefit.

7 years agoMerge branch 'wip/matthiasc/kill-non-input-events' into 'master'
Matthias Clasen [Sun, 15 Jul 2018 19:50:37 +0000 (19:50 +0000)]
Merge branch 'wip/matthiasc/kill-non-input-events' into 'master'

Wip/matthiasc/kill non input events

See merge request GNOME/gtk!242

7 years agoFix up some doc mishaps
Matthias Clasen [Sun, 15 Jul 2018 19:36:19 +0000 (15:36 -0400)]
Fix up some doc mishaps

When GdkWindow was renamed to GdkSurface, 'window managers'
turned into 'surface managers'. Thats not cool.

7 years agoDrop gdk_surface_withdraw
Matthias Clasen [Sun, 15 Jul 2018 19:12:14 +0000 (15:12 -0400)]
Drop gdk_surface_withdraw

'withdrawn' is an X11-centric concept, and the function
can just as well be replaced by gdk_surface_hide.

7 years agogdk: Drop map events
Matthias Clasen [Sun, 15 Jul 2018 18:23:54 +0000 (14:23 -0400)]
gdk: Drop map events

We are really inconsistent about generating these,
and they are not actually used in GTK+. Instead,
add a boolean GdkSurface::mapped property.

7 years agowin32: Stop using expose and configure events
Matthias Clasen [Sun, 15 Jul 2018 18:07:40 +0000 (14:07 -0400)]
win32: Stop using expose and configure events

These no longer exist.

7 years agobroadway: Stop using configure events
Matthias Clasen [Sun, 15 Jul 2018 18:01:59 +0000 (14:01 -0400)]
broadway: Stop using configure events

These no longer exist.

7 years agogdk: Drop expose events
Matthias Clasen [Sun, 15 Jul 2018 12:48:46 +0000 (08:48 -0400)]
gdk: Drop expose events

Replace expose events with a GdkSurface::expose signal.
This is part of the move to use events only for input.

7 years agogdk: Drop configure events
Matthias Clasen [Sun, 15 Jul 2018 14:45:57 +0000 (10:45 -0400)]
gdk: Drop configure events

Replace configure events with a GdkSurface::size-changed signal.
This is part of the move to use events only for input.

7 years agopopover: Drop some dead code
Matthias Clasen [Sun, 15 Jul 2018 12:17:25 +0000 (08:17 -0400)]
popover: Drop some dead code

This will be done differently, using xdg-popup instead
of subsurfaces, so no point in keeping this.

7 years agotext display: correct a comment
Matthias Clasen [Sat, 14 Jul 2018 17:50:14 +0000 (13:50 -0400)]
text display: correct a comment

7 years agotextview: Only create cairo context in gtktextdisplay.c
Benjamin Otte [Sat, 14 Jul 2018 03:26:33 +0000 (05:26 +0200)]
textview: Only create cairo context in gtktextdisplay.c

Everything else is done using GtkSnapshot now, including renaming the
draw_layer vfunc to snapshot_layer.

7 years agox11: Set BackPixmap = None unconditionally
Benjamin Otte [Fri, 13 Jul 2018 16:59:01 +0000 (18:59 +0200)]
x11: Set BackPixmap = None unconditionally

Makes it more obvious what we actually want.

Related: #1134

7 years agoUpdate POTFILES.in
Piotr Drąg [Fri, 13 Jul 2018 13:11:45 +0000 (15:11 +0200)]
Update POTFILES.in

7 years agowindow: Update opaque region if background-color changes
Benjamin Otte [Fri, 13 Jul 2018 12:52:43 +0000 (14:52 +0200)]
window: Update opaque region if background-color changes

The opaque region is only set when the background color is opaque. So
we need to do something about it when the background color changes.

However, in the case where a size allocation is going to happen, we
already do this update in size_allocate(), so in that case avoid doing
it twice.

7 years agogtk-demo: Update aspect-ratio when selecting new puzzle
Benjamin Otte [Tue, 10 Jul 2018 11:28:37 +0000 (13:28 +0200)]
gtk-demo: Update aspect-ratio when selecting new puzzle

7 years agotextview: Use snapshot on the sidebars
Benjamin Otte [Tue, 10 Jul 2018 11:05:21 +0000 (13:05 +0200)]
textview: Use snapshot on the sidebars

7 years agowidgetpaintable: Add a hack to make recursion not infloop
Benjamin Otte [Fri, 6 Jul 2018 08:43:14 +0000 (10:43 +0200)]
widgetpaintable: Add a hack to make recursion not infloop

Makes the GUADEC talk not crash that I'm supposed to give in 20 minutes.

7 years agowidgetpaintable: Redo implementation
Benjamin Otte [Thu, 5 Jul 2018 19:42:39 +0000 (21:42 +0200)]
widgetpaintable: Redo implementation

Instead of instantly invalidating, we now cache the old render node and
do the update in an idle handler.
While that gives us a 1 frame delay, it avoids all the tricky things
like queueing resizes while resizing or queueing draws while drawing.

The only remaining issue (and a *big* one at that) is that a nested
widget paintable will now cause the widget to snapshot its previous
render node when creating a new one. And that one will snapshot its
previous render node, and that one will...
And nothing so far breaks this recursion.

7 years agopaintable: Fix return_if_fail() statements
Benjamin Otte [Thu, 5 Jul 2018 19:41:59 +0000 (21:41 +0200)]
paintable: Fix return_if_fail() statements

I always switch them up...

7 years agogl: Don't accidentally use ints for float variables
Benjamin Otte [Sun, 8 Jul 2018 14:52:33 +0000 (16:52 +0200)]
gl: Don't accidentally use ints for float variables

The int was floor()ing the x/y coordinates of glyphs, which could cause
significant repositioning of glyphs when text was scaled via the MVP.

7 years agodocs: Small updates
Matthias Clasen [Fri, 13 Jul 2018 08:06:10 +0000 (10:06 +0200)]
docs: Small updates

Remove a few references to no-longer-existing APIs.

7 years agoMerge branch 'dnd-cleanups' into 'master'
Matthias Clasen [Fri, 13 Jul 2018 07:45:57 +0000 (07:45 +0000)]
Merge branch 'dnd-cleanups' into 'master'

Dnd cleanups

See merge request GNOME/gtk!228

7 years agoMerge branch 'fix-wayland' into 'master'
Matthias Clasen [Thu, 12 Jul 2018 12:18:59 +0000 (12:18 +0000)]
Merge branch 'fix-wayland' into 'master'

GtkIMContextSimple: Fix Wayland build when X11 support is disabled

See merge request GNOME/gtk!234

7 years agodnd: Drop gdk_drag_abort
Matthias Clasen [Thu, 5 Jul 2018 04:18:16 +0000 (06:18 +0200)]
dnd: Drop gdk_drag_abort

This function is never called, so drop it, its vfunc,
and all the backend implementations.

7 years agodnd: Some documentation updates
Matthias Clasen [Thu, 12 Jul 2018 11:53:50 +0000 (13:53 +0200)]
dnd: Some documentation updates

Don't mention dnd protocols, and do mention the new,
split objects.

7 years agowin32: Build fixes
Matthias Clasen [Wed, 4 Jul 2018 10:00:47 +0000 (12:00 +0200)]
win32: Build fixes

7 years agowayland: Rename a source file
Matthias Clasen [Wed, 4 Jul 2018 07:28:43 +0000 (09:28 +0200)]
wayland: Rename a source file

Rename gdkdnd-wayland.c to gdkdrag-wayland.c to go along
with gdkdrop-wayland.c.

7 years agowayland: Drop an unused field
Matthias Clasen [Wed, 4 Jul 2018 07:27:06 +0000 (09:27 +0200)]
wayland: Drop an unused field

Nothing was using the foreign_dnd_surface anymore, so no
need to create it in the first place.

7 years agodnd: Drop suggested_action
Matthias Clasen [Wed, 4 Jul 2018 06:40:49 +0000 (08:40 +0200)]
dnd: Drop suggested_action

The only user of this field was the x11 backend, and it
turns out that it does not need to store the value at all.

7 years agodrag: Split a setter
Matthias Clasen [Wed, 4 Jul 2018 06:32:27 +0000 (08:32 +0200)]
drag: Split a setter

In preparation for moving the suggested action
to the x11 backend, split the setter off.

7 years agowin32: Stop using gdk_drag_get_suggested_action
Matthias Clasen [Wed, 4 Jul 2018 06:06:53 +0000 (08:06 +0200)]
win32: Stop using gdk_drag_get_suggested_action

The suggested action is not set or used in the win32
information, so don't put it in logs either.

7 years agoGdkDrop: drop the priv struct
Matthias Clasen [Tue, 3 Jul 2018 22:59:18 +0000 (00:59 +0200)]
GdkDrop: drop the priv struct

Its not needed.

7 years agoAdd a GdkDrag::actions property
Matthias Clasen [Tue, 3 Jul 2018 22:52:21 +0000 (00:52 +0200)]
Add a GdkDrag::actions property

To go along the GdkDrop::actions property.

7 years agoRename a property
Matthias Clasen [Tue, 3 Jul 2018 22:44:00 +0000 (00:44 +0200)]
Rename a property

Change GdkDrag::action to GdkDrag::selected-action, which is
more clearly different from actions, and follows the existing
name of the struct field and getter.

7 years agoGdkDrag: Drop the priv struct
Matthias Clasen [Tue, 3 Jul 2018 20:35:58 +0000 (22:35 +0200)]
GdkDrag: Drop the priv struct

We don't need it.

7 years agowayland: set a cursor when starting a drag
Matthias Clasen [Tue, 3 Jul 2018 18:58:31 +0000 (20:58 +0200)]
wayland: set a cursor when starting a drag

Otherwise, we wont have one.

7 years agodnd: Add a GdkDrag::action property
Matthias Clasen [Mon, 2 Jul 2018 23:16:47 +0000 (01:16 +0200)]
dnd: Add a GdkDrag::action property

This lets us drop the ::action-changed signal for the
property change notification. But, can just as well move
the signal class handers which just update the cursor
to the ::action setter. No need to do this in the backends.

7 years agowayland: Remove an unused field
Matthias Clasen [Mon, 2 Jul 2018 22:23:37 +0000 (00:23 +0200)]
wayland: Remove an unused field

GdkDragWayland.suggested_action was entirely unused, so drop it.

7 years agodnd: Rename gtk_drag_begin_with_coordinates
Matthias Clasen [Tue, 3 Jul 2018 18:37:31 +0000 (20:37 +0200)]
dnd: Rename gtk_drag_begin_with_coordinates

Now that the coordiate-less variant is gone,
rename this back to the shorter gtk_drag_begin.

7 years agoMerge branch 'master' into 'master'
Daniel Boles [Mon, 9 Jul 2018 17:28:49 +0000 (17:28 +0000)]
Merge branch 'master' into 'master'

HighContrast: Restore expander size

Closes #1046

See merge request GNOME/gtk!167

7 years agowidget factory: Use GtkPicture for background selection
Timm Bäder [Sun, 8 Jul 2018 19:48:17 +0000 (21:48 +0200)]
widget factory: Use GtkPicture for background selection

Showing those background images as 16×16 icons doesn't look very nice.

7 years agogl renderer: Cache blurred outset shadow nodes
Timm Bäder [Sun, 8 Jul 2018 18:08:15 +0000 (20:08 +0200)]
gl renderer: Cache blurred outset shadow nodes

Since these are particularly expensive to render and we have a pretty
big one used in every client-side decorated window.

7 years agoaboutdialog: Remove priv pointer
Timm Bäder [Sun, 8 Jul 2018 18:30:03 +0000 (20:30 +0200)]
aboutdialog: Remove priv pointer

7 years agolayout: Remove priv pointer
Timm Bäder [Sun, 8 Jul 2018 18:22:16 +0000 (20:22 +0200)]
layout: Remove priv pointer

7 years agorendernodes: Fix unconditionally impossible diffs
Timm Bäder [Sun, 8 Jul 2018 10:50:21 +0000 (12:50 +0200)]
rendernodes: Fix unconditionally impossible diffs

Some of the _diff implementations did a whole bunch of work just to
throw it away afterwards and invalidate the entire union of the two
render nodes, most notably the two clip nodes. Fix this to only call
gsk_render_node_diff_impossible if the previous if-condition is FALSE
and not always.

7 years agoGskRenderer: Add missing nullable annotation
Timm Bäder [Sun, 8 Jul 2018 10:39:06 +0000 (12:39 +0200)]
GskRenderer: Add missing nullable annotation

7 years agoRevert "snapshot: merge container nodes"
Timm Bäder [Sun, 8 Jul 2018 10:19:35 +0000 (12:19 +0200)]
Revert "snapshot: merge container nodes"

This reverts commit 622a150bb4a83afba909c051a4baf12a88868e62.

7 years agoGtkIMContextSimple: Fix Wayland build when X11 support is disabled.
Emmanuel Gil Peyrot [Sun, 8 Jul 2018 18:11:01 +0000 (20:11 +0200)]
GtkIMContextSimple: Fix Wayland build when X11 support is disabled.

7 years agoUpdate Hungarian translation
Balázs Meskó [Sun, 8 Jul 2018 14:04:15 +0000 (14:04 +0000)]
Update Hungarian translation

7 years agoImplement GtkInspectorLayoutOverlay
Timm Bäder [Sun, 8 Jul 2018 09:26:12 +0000 (11:26 +0200)]
Implement GtkInspectorLayoutOverlay

To properly replace the old "show layout borders" option.

7 years agotreeview: Fix column visibility check
Timm Bäder [Sun, 8 Jul 2018 08:32:12 +0000 (10:32 +0200)]
treeview: Fix column visibility check

This is still fallout from the bin_window removal. We aren't moving the
GdkWindow/GdkSurface anymore so we have to account for the scrolling
ourselves.

7 years agotreeview: Move column header widgets when scrolling
Timm Bäder [Sun, 8 Jul 2018 08:02:58 +0000 (10:02 +0200)]
treeview: Move column header widgets when scrolling

Since those are widgets and widgets need to be size-allocate'd properly,
we need to queue an allocate, as well as actually add the hadjustment's
value to the column x position.

Fixes #1202

7 years agoaspectframe: Remove priv pointer
Timm Bäder [Sun, 8 Jul 2018 08:02:43 +0000 (10:02 +0200)]
aspectframe: Remove priv pointer

7 years agoscalebutton: Remove priv pointer
Timm Bäder [Sun, 8 Jul 2018 07:39:05 +0000 (09:39 +0200)]
scalebutton: Remove priv pointer

7 years agosearchbar: Ignore key presses when unmapped
Timm Bäder [Sun, 8 Jul 2018 07:29:14 +0000 (09:29 +0200)]
searchbar: Ignore key presses when unmapped

The purpose of a searchbar is to start a search on visible widgets when
a key is pressed. Starting a search on e.g. a stack page that is not
visible at all is not very useful.

7 years agoaccellabel: Add newline between consecutive if statements
Timm Bäder [Sat, 7 Jul 2018 21:03:19 +0000 (23:03 +0200)]
accellabel: Add newline between consecutive if statements

7 years agolistbox demo: Hide extra_buttons_box by default
Timm Bäder [Sat, 7 Jul 2018 17:34:00 +0000 (19:34 +0200)]
listbox demo: Hide extra_buttons_box by default

It should only show up when hovering the row.

7 years agorange: Remove has_origin flag
Timm Bäder [Sat, 7 Jul 2018 17:18:26 +0000 (19:18 +0200)]
range: Remove has_origin flag

It's equivalent to the highlight_widget being !NULL.

7 years agodialog: Remove priv pointer
Timm Bäder [Sat, 7 Jul 2018 17:14:38 +0000 (19:14 +0200)]
dialog: Remove priv pointer

7 years agodialog: Remove some GtkVBox references
Timm Bäder [Sat, 7 Jul 2018 17:10:58 +0000 (19:10 +0200)]
dialog: Remove some GtkVBox references

7 years agoGtkSeparatorToolItem: Remove draw flag
Timm Bäder [Sat, 7 Jul 2018 16:33:43 +0000 (18:33 +0200)]
GtkSeparatorToolItem: Remove draw flag

We can as well query the current value of the flag using
gtk_style_context_has_class.

7 years agoGtkSeparatorToolItem: Remove priv pointer
Timm Bäder [Sat, 7 Jul 2018 16:30:29 +0000 (18:30 +0200)]
GtkSeparatorToolItem: Remove priv pointer

7 years agoGtkApplication: Remove priv pointer
Timm Bäder [Sat, 7 Jul 2018 14:15:02 +0000 (16:15 +0200)]
GtkApplication: Remove priv pointer

7 years agocolorswatch: Remove priv pointer
Timm Bäder [Sat, 7 Jul 2018 14:08:21 +0000 (16:08 +0200)]
colorswatch: Remove priv pointer

7 years agorender: Remove gtk_render_slider
Timm Bäder [Sat, 7 Jul 2018 12:36:59 +0000 (14:36 +0200)]
render: Remove gtk_render_slider

The only thing it was doing is render background and frame, which you
get from using a widget for your slider anyway.

7 years agorenderborder: Remove some unused API
Timm Bäder [Sat, 7 Jul 2018 12:34:18 +0000 (14:34 +0200)]
renderborder: Remove some unused API

7 years agomain: Don't look at first GTK_DISPLAY_DEBUG_CHECK parameter...
Timm Bäder [Sat, 7 Jul 2018 09:37:24 +0000 (11:37 +0200)]
main: Don't look at first GTK_DISPLAY_DEBUG_CHECK parameter...

... if none of the debug displays have any debug flags set. This way, we
can ignore the first parameter to e.g. GTK_DISPLAY_NOTE, which is
usually a call to gtk_widget_get_display.

Before this patch, gtk_widget_get_display was the slowest part of
gtk_widget_query_size_for_orientation.

7 years agoFix a few documentation warnings
Timm Bäder [Thu, 5 Jul 2018 19:01:44 +0000 (21:01 +0200)]
Fix a few documentation warnings

7 years agoMerge branch 'gtk-picture-docs' into 'master'
Timm Bäder [Sat, 7 Jul 2018 06:30:37 +0000 (06:30 +0000)]
Merge branch 'gtk-picture-docs' into 'master'

docs: Add GtkPicture to types list

See merge request GNOME/gtk!233

7 years agodocs: Add GtkPicture to types list
Thomas Bechtold [Fri, 6 Jul 2018 20:14:26 +0000 (22:14 +0200)]
docs: Add GtkPicture to types list

We want signals, arguments/parameters and position in the hierarchy to
be shown in the documentation for GtkPicture. So fix the types list.

See
https://developer.gnome.org/gtk-doc-manual/unstable/metafiles_types.html.en

7 years agofixed: Remove child list
Timm Bäder [Thu, 5 Jul 2018 17:06:48 +0000 (19:06 +0200)]
fixed: Remove child list

Use the child widget list from GtkWidget and attach x/y positions via a
qdata.

7 years agoGtkLayout: Remove freeze_count member
Timm Bäder [Thu, 5 Jul 2018 16:01:12 +0000 (18:01 +0200)]
GtkLayout: Remove freeze_count member

Unused.

7 years agospinbutton: Keep GParamSpecs around
Timm Bäder [Tue, 3 Jul 2018 20:30:25 +0000 (22:30 +0200)]
spinbutton: Keep GParamSpecs around

notify_by_pspec is more efficient and this way the source file is more
in line with the others.

7 years agoci: Update the image for the Flatpak jobs
Emmanuele Bassi [Wed, 4 Jul 2018 17:32:59 +0000 (18:32 +0100)]
ci: Update the image for the Flatpak jobs

The gnome-nightly-oci registry was moved to gitlab.gnome.org, so we
need to change the image we use when building Flatpak bundles in our
CI pipeline.

7 years agoMerge branch '1140-gtk_printer_get_hard_margins_for_paper_size-is-not-external' into...
Emmanuele Bassi [Wed, 4 Jul 2018 16:55:34 +0000 (16:55 +0000)]
Merge branch '1140-gtk_printer_get_hard_margins_for_paper_size-is-not-external' into 'master'

Resolve "gtk_printer_get_hard_margins_for_paper_size() is not external"

Closes #1140

See merge request GNOME/gtk!229

7 years agogtkprinter: Make gtk_printer_get_hard_margins_for_paper_size() public
Kjell Ahlstedt [Wed, 4 Jul 2018 16:40:33 +0000 (18:40 +0200)]
gtkprinter: Make gtk_printer_get_hard_margins_for_paper_size() public

The declaration in gtkprinter.h shall be preceded by GDK_AVAILABLE_IN_ALL,
or else the function can't be used in application programs.

Closes #1140

7 years agorendernode: Make offset nodes use floats
Benjamin Otte [Wed, 4 Jul 2018 13:03:27 +0000 (15:03 +0200)]
rendernode: Make offset nodes use floats

It's OpenGL stuff, use floats.

7 years agogtkmediafile: Don't leak all the images
Benjamin Otte [Wed, 4 Jul 2018 12:40:13 +0000 (14:40 +0200)]
gtkmediafile: Don't leak all the images

We were leaking the GBytes for the image memory, which is a
noticeable memleak to anyone who's casually running a memory monitor.

Go KDE users!

Closes #1200

7 years agoiconhelper: Plug memleak
Benjamin Otte [Wed, 4 Jul 2018 12:40:00 +0000 (14:40 +0200)]
iconhelper: Plug memleak

7 years agomediafile: Check if media files are open when trying to play
Benjamin Otte [Sun, 1 Jul 2018 19:58:13 +0000 (21:58 +0200)]
mediafile: Check if media files are open when trying to play

If no file is open, refuse to play.

7 years agocss: Don't do indirections
Benjamin Otte [Tue, 3 Jul 2018 21:23:36 +0000 (23:23 +0200)]
css: Don't do indirections

We don't need to look up the property by name to query its ID when we
know the ID already because it's inside an enum.

7 years agocss: Report sizes as absolute
Benjamin Otte [Tue, 3 Jul 2018 21:17:41 +0000 (23:17 +0200)]
css: Report sizes as absolute

All PangoFontDescriptions that GTK creates now use
pango_font_description_set_absolute_size().

7 years agoimage: size request is always CONSTANT_SIZE
Benjamin Otte [Wed, 4 Jul 2018 03:12:53 +0000 (05:12 +0200)]
image: size request is always CONSTANT_SIZE

It's always -gtk-icon-size in both directions, even for paintables.
There's no width-for-height happening.

7 years agothemes: Restore default progressbar min sizes
Daniel Boles [Tue, 3 Jul 2018 17:55:31 +0000 (18:55 +0100)]
themes: Restore default progressbar min sizes

The min size on the oriented axis used to come from style props with
default values in the source file, used if the theme did not provide a
min size in CSS. When the style props were removed, so was any notion of
a minimal size for proressbars' main axis, meaning that now progressbars
without expand or any other source of min size were just tiny specks.

The right place to do that was always the theme, so in our themes now,
fix that by copying the old default values for the style properties; see:

https://gitlab.gnome.org/GNOME/gtk/issues/1191#note_259393
https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-24/gtk/gtkprogressbar.c#L92

The result should be the same in that (A) the min size is now what it is
in GTK+ 3 & (B) an app/user can override the theme exactly the same way.

Close https://gitlab.gnome.org/GNOME/gtk/issues/1192

7 years agoHC: merge dupe selectors; linebreaks for legibility
Daniel Boles [Tue, 3 Jul 2018 17:54:33 +0000 (18:54 +0100)]
HC: merge dupe selectors; linebreaks for legibility

7 years agoMerge branch 'gdk4-dnd-docs' into 'master'
Timm Bäder [Tue, 3 Jul 2018 17:28:44 +0000 (17:28 +0000)]
Merge branch 'gdk4-dnd-docs' into 'master'

docs: Add new DnD types

See merge request GNOME/gtk!227

7 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 3 Jul 2018 15:11:00 +0000 (17:11 +0200)]
Update POTFILES.in

7 years agodocs: Add new DnD types
Ernestas Kulik [Tue, 3 Jul 2018 09:32:41 +0000 (12:32 +0300)]
docs: Add new DnD types

7733f646d6985f2d90e43507b8063719e44288ba renamed GdkDragContext to
GdkDrag, which broke the docs, as a reference to
gdk_drag_context_get_type() still exists. This commit renames the type
accordingly and adds GdkDrop.

7 years agoMerge branch 'dnd-cleanups' into 'master'
Matthias Clasen [Mon, 2 Jul 2018 21:19:45 +0000 (21:19 +0000)]
Merge branch 'dnd-cleanups' into 'master'

Dnd cleanups

See merge request GNOME/gtk!226

7 years agoAdwaita: Drop some unneeded overrides
Daniel Boles [Mon, 2 Jul 2018 20:45:06 +0000 (21:45 +0100)]
Adwaita: Drop some unneeded overrides

The pseudoclasses work fine on the subnodes without having to also apply
`parent:class subnode`.

7 years agoAdwaita: Regenerate CSS for text handle overhaul
Daniel Boles [Mon, 2 Jul 2018 21:04:17 +0000 (22:04 +0100)]
Adwaita: Regenerate CSS for text handle overhaul

Commit b3e91b7111f5b46a9165b03d0fc37080358c93e4 forgot this.

7 years agowin32: Adapt to dnd api changes
Matthias Clasen [Mon, 2 Jul 2018 16:04:51 +0000 (18:04 +0200)]
win32: Adapt to dnd api changes

Follow the GdkDragContext -> GdkDrag change.

7 years agoScrolledWindow: a couple of spelling/grammar fixes
Daniel Boles [Mon, 2 Jul 2018 19:11:12 +0000 (20:11 +0100)]
ScrolledWindow: a couple of spelling/grammar fixes

(A) Put a space in "scrolled window" like the other doc comments
(B) Say "i.e." rather than "ie."
(C) Fix grammar from "makes [...] exactly reaches" to "exactly reach"

7 years agoScrolledWindow: Fix/improve doc of key bindings
Daniel Boles [Mon, 2 Jul 2018 19:09:37 +0000 (20:09 +0100)]
ScrolledWindow: Fix/improve doc of key bindings

Saying 'key + modifiers' is really weird, so reverse that, and explain
why there are 2 cited and what the difference between them is.